#ifndef _MCU_UID_H_
#define _MCU_UID_H_

#include <stdint.h>
#include <stdbool.h>

#define DEV_SERIAL_NUM_LEN  (16)
#define DEVICE_ID_BASE_ADDR (0x1FFFF7E8)
#define MD5_SIZE (16)

extern char dev_serial_num[DEV_SERIAL_NUM_LEN]; // 设备序列号

void get_mcu_uid(void);
bool is_it_timeout(uint32_t pre_tick, uint32_t timeout_ms);

#endif  /* mcu_uid.h */